<notempty name="floors">
<div class="noting">
	<a href="javascript:;" class="showMall"></a>
</div>
<div class="nte">
		<span class="lc">{:L('_FLOOR')}</span>
        <span class="k" >&nbsp;</span>
   		<span class="dh">{:L('_PHONE')}</span>
   		<span class="cz">{:L('_OPERATING')}</span>
</div>
<ul>
<foreach item="floor" name="floors">
	<li class="top" id="mall_{$mid}_{$floor.id}">
		<span class="lc">
			<a href="javascript:;" class="mall_phone_list" mid="{$mid}" fid="{$floor.id}">
				{$floor.name}
			</a>
		</span>
		<span class="dh">&nbsp;</span>
        <span class="k" >&nbsp;</span>
		<span class="cz">
		&nbsp;&nbsp;
		<if condition="$floor['isAuth']">
		<a href="javascript:;" class="show_add" mid="{$mid}" fid="{$floor.id}">{:L('_ADD')}</a>
		</if>
		</span>
	</li>
	<foreach item="phone" name="floor.phones">
	<li id="phone_{$phone.id}">
    <span class="k" >&nbsp;</span>
		<span class="lc" id="name_{$phone.id}">{$phone.name|msubstr=0,7}</span>
		<span class="dh" id="phone_{$phone.id}">{$phone.phone|msubstr=0,15}</span>
		<span class="cz">
		&nbsp;&nbsp;
		<if condition="$floor['isAuth']">
		<a href="javascript:;" class="update_phone" pid="{$phone.id}">{:L('_UPDATE')}</a>
		<a href="javascript:;" class="delete_phone" pid="{$phone.id}">{:L('_DELETE')}</a>
		</if>
		</span>
	</li>
	</foreach>
</foreach>
</ul>
</notempty>

<notempty name="brands">
<div class="noting"></div>
<div class="nte">
		<span class="lc">品牌</span>
        <span class="k" >&nbsp;</span>
   		<span class="dh">{:L('_PHONE')}</span>
   		<span class="cz">操作</span>
</div>
<ul>
<foreach item="brand" name="brands">
	<li  id="mall_{$mid}_{$fid}_{$brand.id}">
		<span class="lc">{$brand.name}</span>
		<span class="dh">&nbsp;</span>
        <span class="k" >&nbsp;</span>
		<span class="cz">
		&nbsp;&nbsp;
		<if condition="$brand['isAuth']">
		<a href="javascript:;" class="show_add" mid="{$mid}" fid="{$fid}" bid="{$brand.id}">添加</a>
		</if>
		</span>
	</li>
	<foreach item="phone" name="brand.phones">
	<li id="phone_{$phone.id}">
    	<span class="k" >&nbsp;</span>
		<span class="lc" id="name_{$phone.id}">{$phone.name}</span>
		<span class="dh" id="phone_{$phone.id}">{$phone.phone}</span>
		<span class="cz">
		&nbsp;&nbsp;
		<if condition="$brand['isAuth']">
		<a href="javascript:;" class="update_phone" pid="{$phone.id}">{:L('_UPDATE')}</a>
		<a href="javascript:;" class="delete_phone" pid="{$phone.id}">{:L('_DELETE')}</a>
		</if>
		</span>
	</li>
	</foreach>
</foreach>
</notempty>